﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CalculationTheSignOfTheProduct
{
    class Program
    {
        static void Main(string[] args)
        {
            double firstValue = -3;
            double secondValue = -34;
            double thirdValue = -34;
            if (firstValue > 0 )
            {
                if (secondValue > 0)
                {
                    if (thirdValue > 0)
                    {
                         Console.WriteLine("The sign of the product is +");
                    }
                    else
                    {
                        Console.WriteLine("The sign of the product is -");
                    }

                }
                else
                {
                    if (thirdValue > 0)
                    {
                         Console.WriteLine("The sign of the product is -");
                    }
                    else
                    {
                        Console.WriteLine("The sign of the product is +");
                    }
                }              
            }
            else
            {
                if (secondValue > 0)
                {
                    if (thirdValue > 0)
                    {
                         Console.WriteLine("The sign of the product is -");
                    }
                    else
                    {
                        Console.WriteLine("The sign of the product is +");
                    }
                }
                else
                {
                    if (thirdValue > 0)
                    {
                         Console.WriteLine("The sign of the product is +");
                    }
                    else
                    {
                        Console.WriteLine("The sign of the product is -");
                    }
                }
            }


           
        }
    }
}
